Learn R Programming

YPInterimTesting (version 1.0.3)

virtual: virtual Data Set for the example

Description

This virtual data set is created to show how to use the package.

Usage

data(virtual)

Arguments

Format

The data has the following information:

time

the numeric matrix of event times for all interim looks up to the current look.

event

the numeric matrix of right-censoring indicators corresponding to time (event = 1, censored = 0).

group

the numeric vector of the group indicator (treatment = 1, control = 0).

See Also

ypinterim

Examples

Run this code
# NOT RUN {
library(YPInterimTesting)
data(virtual)
time <- virtual$time
colnames(time) # Check the order of the column names.
head(time)
# }

Run the code above in your browser using DataLab